package com.tkjt.pms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_user_depart_mirror")
public class SysUserDepartMirror implements Serializable {
	private static final long serialVersionUID = 1L;

	/**主键id*/
    @TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/**
	 * 镜像年份 MC2019
	 */
	private String mirrorCode;

	/**用户id*/
	private String userId;
	/**部门id*/
	private String depId;
	public SysUserDepartMirror(){

    }
	public SysUserDepartMirror(String id, String userId, String depId) {
		super();
		this.id = id;
		this.userId = userId;
		this.depId = depId;
	}

	public SysUserDepartMirror(String id, String departId) {
		this.userId = id;
		this.depId = departId;
	}
}
